package com.fh.modules.system.vo;

import java.io.Serializable;

import com.fh.common.api.vo.PageVo;
import com.fh.common.query.QueryRuleEnum;
import com.fh.common.query.annotation.QueryWrapperRule;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @author Qiu,Junda
 * @date 2019年5月8日
 * @description 文件上传下载记录Vo
 */
@Data
@ToString
public class SysFileVo extends PageVo  implements Serializable{

	private static final long serialVersionUID = 9054756767646672582L;
	
	@ApiModelProperty("主键id")
	private String id;
	
	@ApiModelProperty("分类id")
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String categoryId;
	
	@ApiModelProperty("文件名")
	@QueryWrapperRule(rule=QueryRuleEnum.LIKE)
	private String fileName;
	
	@ApiModelProperty("文件大小bit")
	private Long fileSize;
	
	@ApiModelProperty("查看次数")
    private int checkTimes;

	@ApiModelProperty("下载次数")
    private int downloadTimes;

	@ApiModelProperty("文件标签")
    private String tag;
	
	@ApiModelProperty("用户id")
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String userId;
	

}
